/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package clz;

/**
 *
 * @author Hishan
 */
public class autoboxing {
    public static void main(String[] args) {
        
    }
    private volatile Helper helper;
    public Helper getHelper() {
        Helper result = helper;
        if (result == null) {
            synchronized(this) {
                result = helper;
                if (result == null) {
                    helper = result = new Helper();
                }
            }
        }
        return result;
    }
}
